{{include template('public/header','admin')}}
<style>
    .validform input {
        width: 60%;
        float: left;
    }
</style>
</head>
<body>
    <div class="container">
        <div style="margin: 20px;">
            <form class="form-horizontal" role="form" action="/admin/module/install" method="post"  id="cpform" name="cpform" >
                <input type='hidden' name='uid' value="{{$uid}}" />
                <input type='hidden' name='module' value="{{$smarty.get.module}}" />
                <table class="table table-border ticky_table">
                    <tr><td class="w_100"> <span class="red">*</span>模块名称：</td><td>{{$config['name']}}({{$config['module']}}) V {{$config['version']}}</td></tr>
                    <tr><td class="w_100"> <span class="red">*</span>模块作者：</td><td>{{$config['author']}}({{$config['authoremail']}}){{$config['authorsite']}}</td></tr>
                    <tr><td class="w_100"> <span class="red">*</span>模块描述：</td><td>{{$config['description']}}</td></tr>
                    <tr><td class="w_100"> <span class="red">*</span>更新时间：</td><td>{{$config['updatedate']}}</td></tr>

                    <tr><td></td><td>
                            <input type="submit" id="dosubmit" name="dosubmit" class="btn btn-primary" value="&nbsp;&nbsp;提交&nbsp;&nbsp;" style="width: 70px;" />&nbsp;&nbsp;
                            <input type="button" id="doreset" name="doreset" class="btn btn-default" onclick="myclose()" value="&nbsp;&nbsp;取消&nbsp;&nbsp;" style="width: 70px;" />
                        </td></tr>
                </table>
            </form>
        </div>
    </div>
    <script type="text/javascript">
        function myclose() {
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index);
        }
    </script>
</body>
</html>